﻿@{
    Layout = "~/Views/Shared/_TaskLayout.cshtml";
}

<div id="main_content" style="margin-left: 0px;">
    <div class="main-wrapper-content" style="display: block;">
        <div class="breadcrumb" style="margin-top: 71px;">
            <a href="javascript:;">首页</a> >
            <a href="javascript:;">任务进行中</a>
        </div>
        <div class="sub-nav">
            <ul class="clear" style="float: left;">
                <li class="current"><a href="javascript:;">全部人员</a></li>
                <li><a href="javascript:;">研发中</a></li>
                <li><a href="javascript:;">UED中</a></li>
                <li><a href="javascript:;">开发中</a></li>
                <li><a href="javascript:;">测试中</a></li>
                <li><a href="javascript:;">应用中</a></li>
            </ul>

            <!--新建任务-->
            <input type="button" value="新建任务" class="md-button ml5 fl jm_md_button jm_but_color">
        </div>

        <div class="search-wrapper">
            <span class="sub_nav_span fl">共<span style="color: red; font-size: 20px;">4</span>项任务</span>
            <div class="sub-search-wrapper">
                <select class="fl mr5 bor-ceee" id="selChanPinXian" onchange="SearchList()">
                    <option>全部产品线</option>
                </select>
                <select class="fl mr5 bor-ceee">
                    <option>全部状态</option>
                </select>
                @Html.TextBox("searchKey", "", new { @class = "jm_title_input fl", placeholder = "请输入搜索关键字", id = "txtSearchkey" })
                <button type="button" class="md-button ml5 fl jm_but_color" onclick="search();">确 定</button>
            </div>
        </div>
        <div class="table-wrapper plr10">
            <table class="table jm_table01 ColorTable" width="100%">
                <thead>
                    <tr>
                        <th width="4.5%" rowspan="2">序号</th>
                        <th width="4.5%" rowspan="2">产品线</th>
                        <th width="4.5%" rowspan="2">系统</th>
                        <th width="4.5%" rowspan="2">模块</th>
                        <th width="4.5%" rowspan="2">科目</th>
                        <th colspan="4">研发</th>
                        <th colspan="4">UED</th>
                        <th colspan="4">开发</th>
                        <th colspan="4">测试</th>
                        <th colspan="3">应用</th>
                        <th width="4.5%" rowspan="2">操作</th>
                    </tr>
                    <tr>
                        <th width="4.5%">任务量</th>
                        <th width="4.5%">开始</th>
                        <th width="4.5%">已用时</th>
                        <th width="4.5%">负责人</th>
                        <th width="4.5%">任务量</th>
                        <th width="4.5%">开始</th>
                        <th width="4.5%">已用时</th>
                        <th width="4.5%">负责人</th>
                        <th width="4.5%">任务量</th>
                        <th width="4.5%">开始</th>
                        <th width="4.5%">已用时</th>
                        <th width="4.5%">负责人</th>
                        <th width="4.5%">任务量</th>
                        <th width="4.5%">开始</th>
                        <th width="4.5%">已用时</th>
                        <th width="4.5%">负责人</th>
                        <th width="4.5%">开始</th>
                        <th width="4.5%">已用时</th>
                        <th width="4.5%">负责人</th>
                        
                    </tr>
                </thead>
                <tbody id="tb_2">
                   
                </tbody>
            </table>

            <!--分页开始-->
            <div class="pagination j_outerheight">
                <div class="btm-tool con" id="Pagination"></div>
                <span id="spanTS"></span>
            </div>
            <!--分页结束-->
        </div>
    </div>

</div>

@section FootScript{

    <script type="text/javascript">

        function search() {
            LoadDataByPaging();
        }

        $(function () {
            LoadDataByPaging();
        });


        function LoadDataByPaging() {
            var ssContent = $("#txt_Search").val();
            if (ssContent == "输入符合的条件检索") {
                ssContent = "";
            }
            var data = new Object();
            data.SearchKey = $("#txtSearchkey").val();
            PagingQuery(0, '@Url.Action("GetTaskinfoList")',
            data, "tb_2", CallBack);
        }

        function CallBack() {
            //数据加载完成后的回调方法
        }
    </script>

}